package com.xing.service.impl;

import com.xing.service.ProfileAnnotationService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

/**
 * Created by Bradish7Y on 2017/8/22.
 */
@Service
@Profile("prod")
public class ProdDevProfileAnnotationServiceImpl implements ProfileAnnotationService {
    public static final Logger log = LoggerFactory.getLogger(ProdDevProfileAnnotationServiceImpl.class);

    @Override
    public void exec() {
        log.info("in prod mode");
    }
}
